package cn.kpi.service.sys;

import java.util.List;

import cn.kpi.entity.sys.MenuEntity;
import cn.kpi.entity.sys.RoleEntity;
import cn.kpi.entity.sys.UserEntity;

public interface IAccountService {

	public UserEntity UserLogin(String username)throws Exception;
	 public List<MenuEntity> GetMenuByUserId(Long userid)throws Exception;
	 public int ChangePwd(Long userid,String userpwd)throws Exception;
	 public List<RoleEntity> GetRoleByUserId(Long userid)throws Exception;
	 public String GetOrgidsByRoleId(Long userid,Long orgid)throws Exception;
	 
	 public String GetOrgidsByUserRoleId(Long roleid)throws Exception;
}
